<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<style>
      * {
      margin: 0;
      padding: 0;
   }

   body {
      font-family: 'Times New Roman', Times, serif
   }
    html{
        padding: 0.8rem .2rem;
        /* background-color: #a6b2c3; */
        box-sizing: border-box;
    }
    .chen_top{
display: flex;
justify-content:space-between ;
font-size: .6rem;
position: relative;
color: #9695a7;
font-weight: 700;

    }
    .chen_top div:first-child{
        font-weight: 1000;
        font-size: .7rem;
        color: black;
        
    }
    .chen_top div:first-child::after{
        display: inline-block;
    content: '';
    width: 0.7rem;
    height: 0.15rem;
    background-color: black;
    position: absolute;
    bottom: -0.15rem;
    left: 0.05rem;
    transform: translateX(50%);
    border-radius: .1rem;
    }
    .chen_bottom{
        position: relative;
        display: inline-block;
        width: 100%;
        /* height: 4rem; */
        transform: translateY(.5rem);
        border-radius: .6rem;
        background-color: white;
        padding:0rem .3rem;
        box-sizing: border-box;
        overflow: auto;
    }
  
    .chen_xiaotop{
        position: sticky;
top: 0px;
left: 0px;
        display: flex;
        font-size: .3rem;
       align-items: center;
        justify-content: space-between;
        
    }
    .chen_xiaotop span{
        color: #b9b4ba;

    }
    .chen_xiaozhu{
       
        font-size: .4rem;
        float: left;
       
       
        font-weight: 1000;
    }
    .chen_zhu{
     
        overflow: auto;
        height: 6rem;
        width: 150%;
    }
    .chen_xiaozhu img{
        width: 2.3rem;
        height: 3.4rem;
        border-radius:.1rem;
    }
    .chen_xiaozhu p{
        width: 3rem;
    }
    .chen_xiaozhu .chen_title{
font-size: .1rem;
color: #7b8091;
    }
    .chen_send img{
width: 2.3rem;
height: 3rem;
border-radius: .1rem;
float: left;
    }
    .chen_sendright{
        width: 70%;
        font-size: .3rem;
        float: right;
    }
.chen_xiaosend{
    display: inline-block;
    width: 100%;

}
.qing_top{
    display: flex;
    justify-content: space-between;
    align-items: center;
   width: 100%;
}
.qing_top h2{
    margin: 0px;
}
.qing_top .liu{
font-size: .2rem;
}
.jian{
    font-weight: 1000;
    width: 90%;
    height: 1rem;
    line-height: .5rem;
    margin: .4rem 0;

}
.zuo{
    color: #bcb5bc;
}
.chen_gu{
    position: fixed;
    bottom: 0rem;
    border-top: .03rem solid #c3bcc4 ;
    width: 100%;
    right: 0px;
    height: 4rem;
    background-color: white;
    padding:0rem .3rem;
        box-sizing: border-box;
        font-size: .1rem;
      
}

.chen_gutop img{
    position: relative;
    top: -0.1rem;
    width: 1rem;
    height: 1.5rem;
}
.chen_gutop{
    display: flex;
}
.chen_guright{
    width: 100%;
    margin-left:.3rem ;
    position: relative;
}
.chen_guright h3{
    font-size: .1.5rem;

}
.chen_du{
    float: right;
    width: 2rem;
    height: .8rem;
    background-color: pink;
    color: #a69abf;
    border-radius: .3rem;
    line-height: .8rem;
    position: absolute;
    top: .3rem;
    right: 0rem;
    text-align: center;

}
.chen_gutu{
    width: 100%;
    height: 3rem;
    display: flex;
    justify-content: space-between;
    margin-top:.6rem ;
}
.chen_gutu p{
    margin: 0px;
}
.chen_gutu .chen_xiaogu:nth-child(2){
    color: #6561ab;
}
.chen_xiaohong{
    width: 3rem;
    border-radius: .1rem;
    color: white;
    background-color: red;
    text-align: center;
    position: absolute;
    right: 2rem;
    top:1.5rem
}
.chen_xiaotop{
    padding: .4rem 0rem;
}

</style>
<link rel="stylesheet" href="./css/index.min.css">
<link rel="stylesheet" href="./css/hmh.css">
<link rel="stylesheet" href="./status/font_3940297_fsuzc4pcehk/iconfont.css">
<link rel="stylesheet" href="./css/index.css">
<link rel="stylesheet" href="./css/lyh.css">
<link rel="stylesheet" href="./css/tang小说介绍.css">
<link rel="stylesheet" href="./css/nei.css">
<body>
    <div class="box">
   
        <router-view></router-view>

<div class="chen_gu">
<div class="chen_gutop">
    <img src="./img/1.png" alt="">
    <div class="chen_guright">
        <h3>The Algha.s Mate whet</h3>
    <p>feijfeifjeolfjeoi</p>
    <div class="chen_du">
        content
    </div>
    </div>

</div>
<div class="chen_gutu">
<div class="chen_xiaogu " v-for=" a,b in chen_xiaotu" @click="tiao(b)">
   
    <p :class="a.tu"></p>
    <div>{{a.title}}</div>
</div>
</div>
<div class="chen_xiaohong">
    fiejfioejffejifejfiefj
</div>
</div>

    </div>
</body>
<script src="./status/vue.js"></script>
<script src="./index.js"></script>
<script src="./status/vuerouter.js"></script>
<script src="./componets/zhu.js"></script>
<script src="./componets/me.js"></script>
<script src="./componets/hmh.js"></script>
<script src="./componets/lyh.js"></script>
<script src="./componets/小说介绍.js"></script>
<script src="./componets/小说内容.js"></script>
<script>
   Vue.use(VueRouter)

   const routes = [
  { path: '/', component: zhu },
  { path: '/me', component: me },
  {
    path:'/me/hmh',component:hmh
  },
  {
    path:'/me/lyh',component:lyh
  },
  {
    path:'/jie',component:tangjie
  },{
    path:'/jie/nei',component:nei
  }


]

// 3. 创建 router 实例，然后传 `routes` 配置
// 你还可以传别的配置参数, 不过先这么简单着吧。
const router = new VueRouter({
  routes // (缩写) 相当于 routes: routes
})


    var vm =new Vue({
  router,
el:'.box',
data:{

chen_xiaotu:[
{
    tu:'iconfont icon-wp-sj-3',
    title:'feifj'

},
{
    tu:'iconfont icon-Treewithered',
    title:'feifj'

},{
    tu:'iconfont icon-sousuo',
    title:'feifj'

},

{
    tu:'iconfont icon-liwu',
    title:'feifj'

},
{
    tu:'iconfont icon-gerentouxiang_o',
    title:'feifj'

},
],

},
methods: {
    tiao(a){
if(a==4){
    this.$router.push({
        path:'/me'
    })
}else if(a==0){
    this.$router.push({
        path:'/'
    })
}
    }
},
created() {
console.log(this.$router);
    function setHtmlFontSize() {
    var rem=window.innerWidth/12+'px'
    document.documentElement.style.fontSize=rem
    }
    window.onload = function () {
      setHtmlFontSize();
    };
    window.onresize = function () {
      setHtmlFontSize();
    };  
},
    
     
})



</script>



</html>